﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NFinal;
using NFinal.Advanced;

namespace WebApplication1.DDD.Web.Default.jqui
{
    public class displayAction  : Controller
	{
		public displayAction(System.IO.TextWriter tw):base(tw){}
		public displayAction(string fileName) : base(fileName) {}
		#if (!AspNET && !MicrosoftOwin && !NFinalOwin)
		public displayAction(HttpContext context):base(context){}
		public displayAction(Microsoft.Owin.IOwinContext context):base(context){}
		public displayAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		#if AspNET
		public displayAction(HttpContext context):base(context){}
		#endif
		#if MicrosoftOwin
		public displayAction(Microsoft.Owin.IOwinContext context):base(context){}
		#endif
		#if NFinalOwin
		public displayAction(NFinal.Owin.HtmlWriter writer,NFinal.Owin.Request request):base(writer,request){}
		#endif
		public displayAction(Controller controller):base(controller){}
        public void display()
        {
            
			Write("<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\"><head runat=\"server\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/><title></title><link rel=\"stylesheet\" type=\"text/css\" href=\"/DDD/Content/jquery-easyui-1.4.4/themes/default/easyui.css\"/><link rel=\"stylesheet\" type=\"text/css\" href=\"/DDD/Content/jquery-easyui-1.4.4/themes/icon.css\"/><script src=\"/DDD/Content/jquery-easyui-1.4.4/jquery.min.js\"></script><script src=\"/DDD/Content/jquery-easyui-1.4.4/jquery.easyui.min.js\"></script></head><body><div class=\"easyui-layout\" style=\"width:400px;height:200px;\"><div region=\"west\" split=\"true\" title=\"Navigator\" style=\"width:150px;\"><p style=\"padding:5px;margin:0;\">Select language:</p><ul><li><a href=\"javascript:void(0)\" onclick=\"showcontent(\'java\')\">Java</a></li><li><a href=\"javascript:void(0)\" onclick=\"showcontent(\'cshape\')\">C#</a></li><li><a href=\"javascript:void(0)\" onclick=\"showcontent(\'vb\')\">VB</a></li><li><a href=\"javascript:void(0)\" onclick=\"showcontent(\'erlang\')\">Erlang</a></li></ul></div><div id=\"content\" region=\"center\" title=\"Language\" style=\"padding:5px;\"></div></div></body></html>");
        }
    }
}